<?php TPL::output('global/header.tpl.htm'); ?>

		<?php TPL::output('account/setting/setting_header.tpl.htm'); ?>
			<div class="v_setting i_elmsInputs">
			<?php if ((!$this->sina_weibo && get_setting('sina_weibo_enabled') == 'Y')|| (!$this->qq_weibo AND get_setting('qq_t_enabled') == 'Y') || (!$this->qq && get_setting('qq_login_enabled') == 'Y')) { ?>
				<h4 class="h4">未绑定账号</h4>
				<div class="v_setMain v_bind">
					<?php if (!$this->qq AND get_setting('qq_login_enabled') == 'Y') { ?><p><a title="绑定" href="account/qq/binding_qq/" class="i_replay_but2 i_right">绑定</a><span class="qq i_small">QQ 账号</span></p><?php } ?>
					<?php if(!$this->sina_weibo AND get_setting('sina_weibo_enabled') == 'Y') { ?><p><a title="绑定" href="account/sina/binding/" class="i_replay_but2 i_right">绑定</a><span class="sina i_small">新浪微博</span></p><?php } ?>
					<?php if (!$this->qq_weibo AND get_setting('qq_t_enabled') == 'Y') { ?><p><a title="绑定" href="account/qq/binding_weibo/" class="i_replay_but2 i_right">绑定</a><span class="tx i_small">腾讯微博</span></p><?php } ?>
				</div>
			<?php } ?>
			
			<?php if (($this->sina_weibo && get_setting('sina_weibo_enabled') == 'Y')|| ($this->qq_weibo AND get_setting('qq_t_enabled') == 'Y') || ($this->qq && get_setting('qq_login_enabled') == 'Y')) { ?> 
				<h4 class="h4">已绑定账号</h4>
				<div class="v_setMain v_bind">
					<?php if ($this->qq AND get_setting('qq_login_enabled') == 'Y') { ?>
					<p><a title="取消绑定" href="account/qq/del_bind_qq/" class="i_gray_but i_right">取消绑定</a><span class="qq i_small">QQ 账号：<?php echo $this->qq['nick']; ?></span></p>
					<?php } ?>
					
					<?php if ($this->sina_weibo AND get_setting('sina_weibo_enabled') == 'Y') { ?>
					<p><a title="取消绑定" href="account/sina/del_bind/" class="i_gray_but i_right">取消绑定</a><span class="sina i_small">新浪微博：<a href="http://weibo.com/<?php echo $this->sina_weibo['id']; ?>" target="_blank"><?php echo $this->sina_weibo['name']; ?></a></span></p>
					<?php } ?>
					
					<?php if ($this->qq_weibo AND get_setting('qq_t_enabled') == 'Y') { ?>
					<p><a title="取消绑定" href="account/qq/del_bind_weibo/" class="i_gray_but i_right">取消绑定</a><span class="tx i_small">腾讯微博：<?php echo $this->qq_weibo['nick']; ?></span></p>
					<?php } ?>
				</div>
			<?php } ?>
			</div>
		<?php TPL::output('account/setting/setting_footer.tpl.htm'); ?>

<?php TPL::output('global/footer.tpl.htm'); ?>